package cn.fuxi2022.feign.api;

import cn.fuxi2022.model.empty.applets.GroupStudentInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "group-applets",contextId = "groupStudentInfo")
public interface GroupStudentInfoApi {

    /**
     * 根据学生ID获取学生信息
     */
    @GetMapping("admin/studentInfo/getGroupStudentInfoByStudentId/{studentId}")
    GroupStudentInfo getGroupStudentInfoByStudentId(@PathVariable("studentId") String studentId);
}
